<template>
  <div class="tq-info">
    <div class="tq-bg-title"></div>
    <div class="tq-content">
      <div class="content tq-content-top">
        <div class="tq-content-top-one">
          <div class="tq-top-el  tq-date">05/27</div>
          <div class="tq-top-el ">星期一</div>
        </div>
        <div class="tq-content-top-two">
          <div class="tq-top-el ">29/32℃</div>
          <div class="tq-top-el ">{{wind}}</div>
        </div>
        <div class="tq-content-top-three">
          <div class="tq-top-el tq-1"></div>
          <div class="tq-top-el ">多云转晴</div>
        </div>
      </div>
      <div class="content tq-content-bottom">
        <div class="tq-bottom-el">PM2.5 10</div>
        <div class="tq-bottom-el">PM10 10</div>
        <div class="tq-bottom-el">噪音 67db</div>
        <div class="tq-bottom-el">湿度 39%</div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'tq',
  data () {
    return {
      wind: '西南风<3级'
    }
  },
  methods: {
  }
}
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
  .tq-info{
    width: 100%;
    height: 100%;
    background: url("../../../assets/mobile/tq-bg.png") no-repeat;
    background-size:cover;
    position: relative;
  }
  .tq-bg-title{
    position: absolute;
    height: 2.4rem;
    width: 3.5rem;
    top: 0.2rem;
    background: url("../../../assets/mobile/tq-bg-title.png") no-repeat;
    background-size:contain;
  }
  .tq-1{
    background: url("../../../assets/mobile/tq-1.png") no-repeat;
    background-size:contain;
    background-position: center;
  }
  .tq-content{
    position: absolute;
    right: 0.3rem;
    height: 2.1rem;
    width: 4.8rem;
    top: 0.3rem;
    font-family: 微软雅黑;
  }
  .tq-content-top{
    width: 100%;
    height: 1.4rem;
    letter-spacing:2px;
    color: #ffffff;
    font-size: 0.25rem;
    font-weight: 100;
    .tq-top-el{
      height:0.7rem;
      line-height: 0.7rem;
    }
    .tq-content-top-one{
      text-align: left;
      width: 1.5rem;
      height: 100%;
      float: left;
      .tq-date{
        font-size: 0.5rem;
        height:0.7rem;
        line-height: 0.7rem;
        font-weight: 500;
      }
    }
    .tq-content-top-two{
      text-align: left;
      width: 1.8rem;
      height: 100%;
      float: left;
      text-align: center;
      font-weight: 200;

    }
    .tq-content-top-three{
      text-align: left;
      width: 1.5rem;
      height: 100%;
      float: left;
      text-align: center;
      font-weight: 200;
    }
   }
  .tq-content-bottom{
    width: 100%;
    height: 0.7rem;
    letter-spacing:2px;
    color: #ffffff;
    font-size: 0.2rem;
    font-weight: 100;
    line-height: 0.7rem;
    display:flex;
    display: -webkit-flex; /* Safari */
    flex-direction:row;
    justify-content:space-between;
    /*.tq-bottom-el{*/
      /*height: 100%;*/
      /*float: left;*/
    /*}*/
  }

</style>
